﻿package com.moonshineproject.plugin.actionscript.mxmlc 
{
	import com.moonshineproject.plugin.core.compiler.CompilerEventBase;
	
	import flash.events.Event;
	import flash.filesystem.File;
	
	/**
	 * ...
	 * @author SmilyOrg
	 */
	public class MXMLCPluginEvent extends CompilerEventBase 
	{
		public var sdk:File;
		public function MXMLCPluginEvent(type:String, sdk:File = null, bubbles:Boolean=false, cancelable:Boolean=false) 
		{ 
			super(type, bubbles, cancelable);
			this.sdk = sdk;
		} 
		
		public override function clone():Event
		{ 
			return new MXMLCPluginEvent(type, sdk, bubbles, cancelable);
		} 
		
		public override function toString():String
		{ 
			return formatToString("MXMLCPluginEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
	}
}